package com.zhou.org.dao;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author lang.zhou
 * @since 2022-05-06
 */
@TableName("sys_black_list")
@Data
public class BlackList implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 黑名单
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * ip
     */
    private String host;

    /**
     * 封禁日期
     */
    private Date createDt;

    /**
     * 解封日期
     */
    private Date releaseDt;

    /**
     * 1-启用；0-停用
     */
    private Integer status;

    /**
     * 封禁原因
     */
    private String reason;

}
